Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ResponseOps][Rules]Move uptime rule params to package #205238

Merged
merged 11 commits into from
Jan 3, 2025

Conversation

adcoelho
Copy link
Contributor

@adcoelho adcoelho commented Dec 30, 2024

Connected with #195187

Summary

  • Moved params of duration anomaly rule type to /response-ops/rule_params/uptime_duration_anomaly/
  • Moved params of monitor status rule type to /response-ops/rule_params/uptime_monitor_status/
  • Moved params of TLS rule type to /response-ops/rule_params/uptime_tls/
  • Did not move anything related to the legacy TLS rule type.

I ran into a similar issue to #205207 for the monitor status rule type. It doesn't block this PR but some follow up work might be needed for x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/lib/alert_types/lazy_wrapper/validate_monitor_status.ts. We will probably decide after the new year.

@adcoelho adcoelho added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v9.0.0 backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-management Observability Management User Experience Team labels Dec 30, 2024
@adcoelho adcoelho self-assigned this Dec 30, 2024
@adcoelho adcoelho requested review from a team as code owners December 30, 2024 09:45
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@adcoelho adcoelho force-pushed the move-uptime-rule-params branch from b8fc596 to f3fa2fa Compare January 2, 2025 11:21
Copy link
Contributor

@js-jankisalvi js-jankisalvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @adcoelho

@adcoelho adcoelho merged commit c8d46ee into elastic:main Jan 3, 2025
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12597599617

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 205238

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 7, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 205238 locally

adcoelho added a commit to adcoelho/kibana that referenced this pull request Jan 7, 2025
Connected with elastic#195187

- Moved params of duration anomaly rule type to
`/response-ops/rule_params/uptime_duration_anomaly/`
- Moved params of monitor status rule type to
`/response-ops/rule_params/uptime_monitor_status/`
- Moved params of TLS rule type to
`/response-ops/rule_params/uptime_tls/`
- **Did not move anything related to the legacy TLS rule type.**

I ran into a similar issue to elastic#205207 for the monitor status rule type.
It doesn't block this PR but some follow up work might be needed for
`x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/lib/alert_types/lazy_wrapper/validate_monitor_status.ts`.
We will probably decide after the new year.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit c8d46ee)
@adcoelho
Copy link
Contributor Author

adcoelho commented Jan 7, 2025

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

adcoelho added a commit that referenced this pull request Jan 8, 2025
#205725)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][Rules]Move uptime rule params to package
(#205238)](#205238)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Antonio","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-03T12:20:20Z","message":"[ResponseOps][Rules]Move
uptime rule params to package (#205238)\n\nConnected with
#195187\r\n\r\n## Summary\r\n\r\n- Moved params of duration anomaly rule
type to\r\n`/response-ops/rule_params/uptime_duration_anomaly/`\r\n-
Moved params of monitor status rule type
to\r\n`/response-ops/rule_params/uptime_monitor_status/`\r\n- Moved
params of TLS rule type
to\r\n`/response-ops/rule_params/uptime_tls/`\r\n- **Did not move
anything related to the legacy TLS rule type.**\r\n\r\nI ran into a
similar issue to #205207 for the monitor status rule type.\r\nIt doesn't
block this PR but some follow up work might be needed
for\r\n`x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/lib/alert_types/lazy_wrapper/validate_monitor_status.ts`.\r\nWe
will probably decide after the new
year.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"c8d46ee94982cf38163786f0890bafd43ec07247","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport
missing","v9.0.0","backport:prev-minor","Team:obs-ux-management"],"number":205238,"url":"https://github.com/elastic/kibana/pull/205238","mergeCommit":{"message":"[ResponseOps][Rules]Move
uptime rule params to package (#205238)\n\nConnected with
#195187\r\n\r\n## Summary\r\n\r\n- Moved params of duration anomaly rule
type to\r\n`/response-ops/rule_params/uptime_duration_anomaly/`\r\n-
Moved params of monitor status rule type
to\r\n`/response-ops/rule_params/uptime_monitor_status/`\r\n- Moved
params of TLS rule type
to\r\n`/response-ops/rule_params/uptime_tls/`\r\n- **Did not move
anything related to the legacy TLS rule type.**\r\n\r\nI ran into a
similar issue to #205207 for the monitor status rule type.\r\nIt doesn't
block this PR but some follow up work might be needed
for\r\n`x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/lib/alert_types/lazy_wrapper/validate_monitor_status.ts`.\r\nWe
will probably decide after the new
year.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"c8d46ee94982cf38163786f0890bafd43ec07247"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205238","number":205238,"mergeCommit":{"message":"[ResponseOps][Rules]Move
uptime rule params to package (#205238)\n\nConnected with
#195187\r\n\r\n## Summary\r\n\r\n- Moved params of duration anomaly rule
type to\r\n`/response-ops/rule_params/uptime_duration_anomaly/`\r\n-
Moved params of monitor status rule type
to\r\n`/response-ops/rule_params/uptime_monitor_status/`\r\n- Moved
params of TLS rule type
to\r\n`/response-ops/rule_params/uptime_tls/`\r\n- **Did not move
anything related to the legacy TLS rule type.**\r\n\r\nI ran into a
similar issue to #205207 for the monitor status rule type.\r\nIt doesn't
block this PR but some follow up work might be needed
for\r\n`x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/lib/alert_types/lazy_wrapper/validate_monitor_status.ts`.\r\nWe
will probably decide after the new
year.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"c8d46ee94982cf38163786f0890bafd43ec07247"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
@kibanamachine kibanamachine added v8.18.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Jan 8, 2025
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 13, 2025
Connected with elastic#195187

## Summary

- Moved params of duration anomaly rule type to
`/response-ops/rule_params/uptime_duration_anomaly/`
- Moved params of monitor status rule type to
`/response-ops/rule_params/uptime_monitor_status/`
- Moved params of TLS rule type to
`/response-ops/rule_params/uptime_tls/`
- **Did not move anything related to the legacy TLS rule type.**

I ran into a similar issue to elastic#205207 for the monitor status rule type.
It doesn't block this PR but some follow up work might be needed for
`x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/lib/alert_types/lazy_wrapper/validate_monitor_status.ts`.
We will probably decide after the new year.

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants